function [eye_data_aux]=map_eye_data_to_aux(eye_data,iframe_times,aux_data_length)

eye_data_aux=zeros(aux_data_length,1);

frame_times=round([iframe_times mean(diff(iframe_times))]);

for ind=1:length(frame_times)-1
    eye_data_aux(frame_times(ind):frame_times(ind+1)-1)=eye_data(ind);
end

